package cn.edu.suda.catalina.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import cn.edu.suda.catalina.bean.User;

@Mapper
public interface SampleDao {
	@Select("select * from user where name = #{name}")
	User selectUserByName(@Param("name") String name);

	User selectUserListByName(@Param("name") String name);
}
